export default [
  {
    path: '/sys',
    name: 'sys-manage',
    meta: {
      title: '系统',
      
    },
    redirect: '/sys/setting',
    component: () => import('@/components/Layout/CommonLayout.vue'),
    children: [
      {
        path: '/sys/setting',
        name: 'sys-setting',
        meta: {
          title: '系统设置',
          keepAlive: true,
        },
        component: () => import('@/views/system/setting'),
      },
      // {
      //   path: '/sys/account/list',
      //   name: 'account-list',
      //   meta: {
      //     title: '账号管理',
      //     keepAlive: true,
      //   },
      //   component: () => import('@/views/system/account/list.vue'),
      // },
      // {
      //   path: '/sys/account/edit',
      //   name: 'account-edit',
      //   meta: {
      //     title: '账号编辑',
      //     keepAlive: true,
      //     toRoute: 'account-list'
      //   },
      //   hidden: true,
      //   component: () => import('@/views/system/account/edit.vue'),
      // },
      // {
      //   path: '/sys/operation/list',
      //   name: 'operation-list',
      //   meta: {
      //     title: '操作日志',
      //     keepAlive: true,
      //   },
      //   component: () => import('@/views/system/operation/list.vue'),
      // },
      {
        path: '/sys/menu/list',
        name: 'menu-list',
        meta: {
          title: '菜单列表',
          keepAlive: true,
        },
        component: () => import('@/views/system/menu/list.vue'),
      },
      {
        path: '/sys/dict/list',
        name: 'dict-list',
        meta: {
          title: '字典类型列表',
          keepAlive: true,
        },
        component: () => import('@/views/system/dict/list.vue'),
      },
      {
        path: '/sys/dict/dataList',
        name: 'dict-dataList',
        meta: {
          title: '字典列表',
          keepAlive: true,
          toRoute: 'dict-list'
        },
        hidden: true,
        component: () => import('@/views/system/dict/dataList.vue'),
      },
    ],
  },
];
